import { FindOperator } from '../FindOperator';

/**
 * FindOptions Operator.
 * Example: { someField: ArrayOverlap([...]) }
 */
export function ArrayOverlap<T>(value: T[] | FindOperator<T>): FindOperator<any> {
  return new FindOperator('arrayOverlap', value as any);
}
